08-Allow a new line to be printed.py


Sign up Free. Don't forget to check out our challenges, lessons, solve and learn series and more ...


Code Snippet

# Note that \n within quote marks forces a new line to be printed
thetext = input("Enter some text\n")
print ("This is the text that you just entered and note the effect:")
print (thetext)                    

Try it yourself